# $Id: PKGBUILD 87061 2013-03-26 15:12:47Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Ionut Biru <ibiru@archlinux.org>

pkgname=libgexiv2
pkgver=0.6.1
pkgrel=1
pkgdesc='GObject-based wrapper around the Exiv2 library'
arch=('x86_64' 'i686')
url='http://redmine.yorba.org/projects/gexiv2'
license=('GPL2')
depends=('exiv2' 'gobject-introspection')
options=('!libtool')
source=("http://yorba.org/download/gexiv2/${pkgver%.1}/${pkgname}_$pkgver.tar.xz")
sha256sums=('72ee2fcc6a98c9e83467adea45b10d1b61c55654c204dcce9c2463615389a9e3')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  ./configure --prefix=/usr --enable-introspection
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et:
